﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class NPCIron : NPC
    {
        private string Iron;
        

        public NPCIron(string name, NPCType type, string Iron) : base(name, type)
        {
            this.Iron = Iron;

        }
        public override void Speak()
        {
            Console.WriteLine("{0}:你好,{1}", base.Name, this.Iron);
        }

    }
}
